package mc0101.mccache.util;

import java.util.Collection;
import java.util.Map;

public class CollectionUtils {
    public static boolean isNullOrEmpty(Collection<?> collection){
        return null == collection || collection.isEmpty();
    }

    public static boolean isNullOrEmpty(Map<?,?> collection){
        return null == collection || collection.isEmpty();
    }
}
